package com.onlinelearn.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.onlinelearn.content.model.po.CourseTeacher;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 * 课程-教师关系表 服务类
 * </p>
 *
 * @author itcast
 * @since 2023-03-21
 */
public interface CourseTeacherService extends IService<CourseTeacher> {

    List<CourseTeacher> getCourseTeacher(Long courseId);

    CourseTeacher saveCourseTeacher(Long companyId,CourseTeacher courseTeacher);

    CourseTeacher editCourseTeacher(Long companyId,CourseTeacher courseTeacher);

    void deleteCourseTeacher(Long companyId,Long courseId,Long id);
}
